using MoonFramework.FSM;
using Tool.Name;

namespace Entity.Monster.State
{
    public class MonsterHurtState : HurtState
    {
        public override void Enter()
        {
            base.Enter();
            _actor.viewController.PlayAudio(MonsterAudioName.Hurt, 0.5f);
        }

        protected override void HuetOver()
        {
            //切换到追击
            fsmMachine.ChangeState(nameof(MonsterRunState));
        }
    }
}